package com.wyd.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;


@Controller
public class encodingcontroller {

    @PostMapping("/en/e1")
    public String test(Model model, String name){
        System.out.println(name);
        model.addAttribute("msg",name);
        return "test1";
    }
}
